'use strict';
const db = uniCloud.database()
exports.main = async (event, context) => {
	const { status } = event
    const res = await db.collection('order').where({
		"status":status
	}).get()
	return res
	};
